package com.ymtms.settlement.service;

import com.ymtms.settlement.pojo.DriverBalanceMain;
import com.ymtms.settlement.vo.GridRequest;

import java.util.List;

public interface DriverBalanceMainService {

    DriverBalanceMain findDriverBalanceMainByCode(String code);

    void addDriverBalanceMain(DriverBalanceMain driverBalanceMain);

    void updateDriverBalanceMain(DriverBalanceMain driverBalanceMain);

    List<DriverBalanceMain> findDriverBalanceMainByState(GridRequest gridRequest,String code);

    Integer findCount(String code);

    void deleteDriverBalance(Integer dbid);
}
